package com.ruoyi.common.core.domain.entity.system;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 船只与自动航线关联对象 sys_boat_shipline
 *
 * @author zjw
 * @date 2023-11-21
 */
public class SysBoatShipline extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 船只ID
     */
    private Long boatId;

    /**
     * 自动航线ID
     */
    private Long shiplineId;

    public void setBoatId(Long boatId) {
        this.boatId = boatId;
    }

    public Long getBoatId() {
        return boatId;
    }

    public void setShiplineId(Long shiplineId) {
        this.shiplineId = shiplineId;
    }

    public Long getShiplineId() {
        return shiplineId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("boatId", getBoatId())
                .append("shiplineId", getShiplineId())
                .toString();
    }
}
